package com.itxwl.controller;

import com.itxwl.service.IDataSourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: 薛
 * @Date: 2020/7/18 15:25
 * @Description:
 */
@RestController
@RequestMapping("/test")
public class DataSourceController {
    @Autowired
    private IDataSourceService dataSourceService;

    @GetMapping("/findSourceData/{id}")
    public void findSourceData(@PathVariable("id") Integer id){
        dataSourceService.findSourceData(id);
    }
}
